package csvutil

import (
	"fmt"
	"testing"
)

func TestCsv(t *testing.T) {
	csvOp, err := NewCsvOperator("./test.csv")
	if err != nil {
		fmt.Println("ERROR:", err.Error())
		t.FailNow()
	}
	defer csvOp.Close()

	csvOp.Write([]string{
		"test1", "test2", "test3",
	})
}
